package Interface;

import java.awt.Color;
import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.RootPaneContainer;

/**
 *
 * @author Bao Pham
 */
public class MainGui extends javax.swing.JFrame implements RootPaneContainer {

    controller.Controller controller;

    public MainGui(controller.Controller controller) {
        super("Hanoi Bus Supporter");
        initComponents();
        this.controller = controller;
        ko_hienthi_Nut();
        setResizable(false);
        setLocation(350, 70);
  
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnBanner = new javax.swing.JPanel();
        subName = new javax.swing.JLabel();
        lbAbout = new javax.swing.JLabel();
        lbNo = new javax.swing.JLabel();
        lbDisplayAll = new javax.swing.JLabel();
        lbStreet = new javax.swing.JLabel();
        lbRoute = new javax.swing.JLabel();
        lbSuggest = new javax.swing.JLabel();
        lbHome = new javax.swing.JLabel();
        No = new javax.swing.JLabel();
        Home = new javax.swing.JLabel();
        Street = new javax.swing.JLabel();
        route = new javax.swing.JLabel();
        Suggest = new javax.swing.JLabel();
        about = new javax.swing.JLabel();
        All = new javax.swing.JLabel();
        Name = new javax.swing.JLabel();
        lbLogo = new javax.swing.JLabel();
        lbBanner = new javax.swing.JLabel();
        tabChinh = new javax.swing.JTabbedPane();
        tabMain = new javax.swing.JPanel();
        jPanel4 = new javax.swing.JPanel();
        jLabel6 = new javax.swing.JLabel();
        lbNoicon = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        lbDisplayIcon = new javax.swing.JLabel();
        jPanel9 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        lbAboutIcon = new javax.swing.JLabel();
        jPanel10 = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        lbStreetIcon = new javax.swing.JLabel();
        jPanel11 = new javax.swing.JPanel();
        jLabel16 = new javax.swing.JLabel();
        lbRouteIcon = new javax.swing.JLabel();
        jPanel12 = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        lbSuggestIcon = new javax.swing.JLabel();
        lbHienThi = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        tabDisplay1 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        tbDisplayAll = new javax.swing.JTable();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        lbnameDisplayAll = new javax.swing.JLabel();
        lbNoDisplayAll = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jScrollPane5 = new javax.swing.JScrollPane();
        taBackDisplayAll = new javax.swing.JTextArea();
        jScrollPane6 = new javax.swing.JScrollPane();
        taGoDisplayAll = new javax.swing.JTextArea();
        jLabel30 = new javax.swing.JLabel();
        jProgressBar2 = new javax.swing.JProgressBar();
        tabDisplay = new javax.swing.JPanel();
        lbNameNo = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        taBackNo = new javax.swing.JTextArea();
        jScrollPane4 = new javax.swing.JScrollPane();
        taGoNo = new javax.swing.JTextArea();
        jLabel31 = new javax.swing.JLabel();
        tfSearchNo = new javax.swing.JTextField();
        lbNoNo = new javax.swing.JLabel();
        btSearchNo = new javax.swing.JButton();
        jLabel17 = new javax.swing.JLabel();
        jProgressBar1 = new javax.swing.JProgressBar();
        tabDisplay2 = new javax.swing.JPanel();
        jScrollPane7 = new javax.swing.JScrollPane();
        tbStreet = new javax.swing.JTable();
        jLabel32 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        lbNameStreet = new javax.swing.JLabel();
        lbNoStreet = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        jScrollPane8 = new javax.swing.JScrollPane();
        taBackStreet = new javax.swing.JTextArea();
        jScrollPane9 = new javax.swing.JScrollPane();
        taGoStreet = new javax.swing.JTextArea();
        tfSearchStreet = new javax.swing.JTextField();
        btSearchStreet = new javax.swing.JButton();
        jLabel39 = new javax.swing.JLabel();
        jLabel38 = new javax.swing.JLabel();
        jProgressBar3 = new javax.swing.JProgressBar();
        tabDisplay3 = new javax.swing.JPanel();
        jScrollPane10 = new javax.swing.JScrollPane();
        tbRoute = new javax.swing.JTable();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        lbNameRoute = new javax.swing.JLabel();
        lbNoRoute = new javax.swing.JLabel();
        jLabel44 = new javax.swing.JLabel();
        jLabel45 = new javax.swing.JLabel();
        jScrollPane11 = new javax.swing.JScrollPane();
        taBackRoute = new javax.swing.JTextArea();
        jScrollPane12 = new javax.swing.JScrollPane();
        taGoRoute = new javax.swing.JTextArea();
        jLabel46 = new javax.swing.JLabel();
        tfSearchStartRoute = new javax.swing.JTextField();
        btSearchRoute = new javax.swing.JButton();
        jLabel48 = new javax.swing.JLabel();
        tfSearchEndRoute = new javax.swing.JTextField();
        jLabel47 = new javax.swing.JLabel();
        jProgressBar4 = new javax.swing.JProgressBar();
        tabDisplay4 = new javax.swing.JPanel();
        jScrollPane13 = new javax.swing.JScrollPane();
        tbSuggest = new javax.swing.JTable();
        jLabel50 = new javax.swing.JLabel();
        jLabel51 = new javax.swing.JLabel();
        lbNameSuggest = new javax.swing.JLabel();
        lbNoSuggest = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        jScrollPane14 = new javax.swing.JScrollPane();
        taBackSuggest = new javax.swing.JTextArea();
        jScrollPane15 = new javax.swing.JScrollPane();
        taGoSuggest = new javax.swing.JTextArea();
        jLabel49 = new javax.swing.JLabel();
        cbtypeSuggest = new javax.swing.JComboBox();
        jLabel57 = new javax.swing.JLabel();
        cbLocationSuggest = new javax.swing.JComboBox();
        btSuggesttion = new javax.swing.JButton();
        btSearchSuggest = new javax.swing.JLabel();
        tabDisplay5 = new javax.swing.JPanel();
        jLabel62 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        jLabel65 = new javax.swing.JLabel();
        jLabel66 = new javax.swing.JLabel();
        jLabel67 = new javax.swing.JLabel();
        jLabel68 = new javax.swing.JLabel();
        SE = new javax.swing.JLabel();
        jLabel64 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        taLienTuyen = new javax.swing.JTextArea();
        jLabel19 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(694, 600));
        addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                formMouseMoved(evt);
            }
        });
        getContentPane().setLayout(null);

        pnBanner.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        pnBanner.setLayout(null);

        subName.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        subName.setForeground(new java.awt.Color(255, 255, 255));
        subName.setText("Project Core Java & Sofware Engineering");
        pnBanner.add(subName);
        subName.setBounds(160, 50, 250, 14);

        lbAbout.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbAbout.setForeground(new java.awt.Color(240, 240, 240));
        lbAbout.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbAbout.setText("About us");
        lbAbout.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbAboutMousePressed(evt);
            }
        });
        lbAbout.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbAboutMouseMoved(evt);
            }
        });
        pnBanner.add(lbAbout);
        lbAbout.setBounds(600, 80, 80, 30);

        lbNo.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbNo.setForeground(new java.awt.Color(240, 240, 240));
        lbNo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbNo.setText("Bus No.");
        lbNo.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbNoMouseClicked(evt);
            }
        });
        lbNo.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbNoMouseMoved(evt);
            }
        });
        pnBanner.add(lbNo);
        lbNo.setBounds(200, 80, 100, 30);

        lbDisplayAll.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbDisplayAll.setForeground(new java.awt.Color(240, 240, 240));
        lbDisplayAll.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbDisplayAll.setText("All Bus");
        lbDisplayAll.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbDisplayAllMouseClicked(evt);
            }
        });
        lbDisplayAll.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbDisplayAllMouseMoved(evt);
            }
        });
        pnBanner.add(lbDisplayAll);
        lbDisplayAll.setBounds(100, 80, 100, 30);

        lbStreet.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbStreet.setForeground(new java.awt.Color(240, 240, 240));
        lbStreet.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbStreet.setText("Street");
        lbStreet.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbStreetMouseClicked(evt);
            }
        });
        lbStreet.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbStreetMouseMoved(evt);
            }
        });
        pnBanner.add(lbStreet);
        lbStreet.setBounds(300, 80, 100, 30);

        lbRoute.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbRoute.setForeground(new java.awt.Color(240, 240, 240));
        lbRoute.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbRoute.setText("Route");
        lbRoute.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbRouteMouseClicked(evt);
            }
        });
        lbRoute.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbRouteMouseMoved(evt);
            }
        });
        pnBanner.add(lbRoute);
        lbRoute.setBounds(400, 80, 100, 30);

        lbSuggest.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbSuggest.setForeground(new java.awt.Color(240, 240, 240));
        lbSuggest.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbSuggest.setText("Suggest");
        lbSuggest.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbSuggestMousePressed(evt);
            }
        });
        lbSuggest.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbSuggestMouseMoved(evt);
            }
        });
        pnBanner.add(lbSuggest);
        lbSuggest.setBounds(500, 80, 100, 30);

        lbHome.setFont(new java.awt.Font("Tahoma", 1, 15)); // NOI18N
        lbHome.setForeground(new java.awt.Color(240, 240, 240));
        lbHome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbHome.setText("Home");
        lbHome.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                lbHomeMouseClicked(evt);
            }
        });
        lbHome.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbHomeMouseMoved(evt);
            }
        });
        pnBanner.add(lbHome);
        lbHome.setBounds(10, 80, 90, 30);

        No.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(No);
        No.setBounds(200, 80, 110, 30);

        Home.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/home.png"))); // NOI18N
        pnBanner.add(Home);
        Home.setBounds(0, 80, 110, 30);

        Street.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(Street);
        Street.setBounds(300, 80, 110, 30);

        route.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(route);
        route.setBounds(400, 80, 110, 30);

        Suggest.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(Suggest);
        Suggest.setBounds(500, 80, 110, 30);

        about.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(about);
        about.setBounds(600, 80, 110, 30);

        All.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Button.png"))); // NOI18N
        pnBanner.add(All);
        All.setBounds(100, 80, 110, 30);

        Name.setFont(new java.awt.Font("Perpetua Titling MT", 1, 24)); // NOI18N
        Name.setForeground(new java.awt.Color(255, 255, 255));
        Name.setText("Hanoi Bus Supporter");
        pnBanner.add(Name);
        Name.setBounds(150, 20, 320, 30);

        lbLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/logo.png"))); // NOI18N
        lbLogo.setText("Logo");
        pnBanner.add(lbLogo);
        lbLogo.setBounds(70, 10, 70, 60);

        lbBanner.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/banner_background.jpg"))); // NOI18N
        lbBanner.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbBannerMouseMoved(evt);
            }
        });
        pnBanner.add(lbBanner);
        lbBanner.setBounds(0, 0, 690, 110);

        getContentPane().add(pnBanner);
        pnBanner.setBounds(0, 0, 690, 110);

        tabMain.setLayout(null);

        jPanel4.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel4.setPreferredSize(new java.awt.Dimension(190, 130));
        jPanel4.setLayout(null);

        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel6.setForeground(new java.awt.Color(255, 255, 255));
        jLabel6.setText("Search No.");
        jPanel4.add(jLabel6);
        jLabel6.setBounds(40, 80, 110, 20);

        lbNoicon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/NoMn.jpg"))); // NOI18N
        lbNoicon.setText("No");
        lbNoicon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbNoiconMousePressed(evt);
            }
        });
        lbNoicon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbNoiconMouseMoved(evt);
            }
        });
        jPanel4.add(lbNoicon);
        lbNoicon.setBounds(0, 0, 160, 120);

        tabMain.add(jPanel4);
        jPanel4.setBounds(60, 50, 160, 120);

        jPanel7.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel7.setPreferredSize(new java.awt.Dimension(190, 130));
        jPanel7.setLayout(null);

        jLabel11.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel11.setForeground(new java.awt.Color(255, 255, 255));
        jLabel11.setText("Display All");
        jPanel7.add(jLabel11);
        jLabel11.setBounds(60, 120, 120, 22);

        lbDisplayIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/displayMN.jpg"))); // NOI18N
        lbDisplayIcon.setText("display");
        lbDisplayIcon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbDisplayIconMousePressed(evt);
            }
        });
        lbDisplayIcon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbDisplayIconMouseMoved(evt);
            }
        });
        jPanel7.add(lbDisplayIcon);
        lbDisplayIcon.setBounds(0, 0, 200, 160);

        tabMain.add(jPanel7);
        jPanel7.setBounds(430, 50, 200, 160);

        jPanel9.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel9.setPreferredSize(new java.awt.Dimension(190, 130));
        jPanel9.setLayout(null);

        jLabel13.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(240, 240, 240));
        jLabel13.setText("About Us");
        jPanel9.add(jLabel13);
        jLabel13.setBounds(90, 30, 100, 22);

        lbAboutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/EditMN.jpg"))); // NOI18N
        lbAboutIcon.setText("Edit");
        lbAboutIcon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbAboutIconMousePressed(evt);
            }
        });
        lbAboutIcon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbAboutIconMouseMoved(evt);
            }
        });
        jPanel9.add(lbAboutIcon);
        lbAboutIcon.setBounds(0, 0, 200, 90);

        tabMain.add(jPanel9);
        jPanel9.setBounds(430, 230, 200, 90);

        jPanel10.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel10.setPreferredSize(new java.awt.Dimension(190, 130));
        jPanel10.setLayout(null);

        jLabel7.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel7.setForeground(new java.awt.Color(255, 255, 255));
        jLabel7.setText("Search Street");
        jPanel10.add(jLabel7);
        jLabel7.setBounds(20, 80, 140, 22);

        lbStreetIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/streetMN.jpg"))); // NOI18N
        lbStreetIcon.setText("Street");
        lbStreetIcon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbStreetIconMousePressed(evt);
            }
        });
        lbStreetIcon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbStreetIconMouseMoved(evt);
            }
        });
        jPanel10.add(lbStreetIcon);
        lbStreetIcon.setBounds(0, 0, 160, 120);

        tabMain.add(jPanel10);
        jPanel10.setBounds(250, 50, 160, 120);

        jPanel11.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel11.setLayout(null);

        jLabel16.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel16.setForeground(new java.awt.Color(240, 240, 240));
        jLabel16.setText("Search Route");
        jPanel11.add(jLabel16);
        jLabel16.setBounds(20, 90, 150, 22);

        lbRouteIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/RouteMN.jpg"))); // NOI18N
        lbRouteIcon.setText("jLabel10");
        lbRouteIcon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbRouteIconMousePressed(evt);
            }
        });
        lbRouteIcon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbRouteIconMouseMoved(evt);
            }
        });
        jPanel11.add(lbRouteIcon);
        lbRouteIcon.setBounds(0, 0, 160, 130);

        tabMain.add(jPanel11);
        jPanel11.setBounds(60, 190, 160, 130);

        jPanel12.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel12.setLayout(null);

        jLabel15.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel15.setForeground(new java.awt.Color(255, 255, 255));
        jLabel15.setText("Suggest Bus");
        jPanel12.add(jLabel15);
        jLabel15.setBounds(20, 90, 120, 22);

        lbSuggestIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/LocationMN.jpg"))); // NOI18N
        lbSuggestIcon.setText("jLabel8");
        lbSuggestIcon.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                lbSuggestIconMousePressed(evt);
            }
        });
        lbSuggestIcon.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lbSuggestIconMouseMoved(evt);
            }
        });
        jPanel12.add(lbSuggestIcon);
        lbSuggestIcon.setBounds(0, 0, 160, 130);

        tabMain.add(jPanel12);
        jPanel12.setBounds(250, 190, 160, 130);

        lbHienThi.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        lbHienThi.setForeground(new java.awt.Color(240, 240, 240));
        lbHienThi.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbHienThi.setText("Chào mừng đến với Hanoi Bus Supporter");
        tabMain.add(lbHienThi);
        lbHienThi.setBounds(60, 370, 580, 30);

        jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel3.setText("jLabel3");
        jLabel3.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel3MouseMoved(evt);
            }
        });
        tabMain.add(jLabel3);
        jLabel3.setBounds(0, -10, 690, 480);

        tabChinh.addTab("Main", tabMain);

        tabDisplay1.setLayout(null);

        tbDisplayAll.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Số xe", "Lộ Trình"
            }
        ));
        tbDisplayAll.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                tbDisplayAllMousePressed(evt);
            }
        });
        jScrollPane3.setViewportView(tbDisplayAll);
        tbDisplayAll.getColumnModel().getColumn(0).setPreferredWidth(10);
        tbDisplayAll.getColumnModel().getColumn(1).setPreferredWidth(100);

        tabDisplay1.add(jScrollPane3);
        jScrollPane3.setBounds(30, 20, 290, 420);

        jLabel24.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel24.setForeground(new java.awt.Color(240, 240, 240));
        jLabel24.setText("Tên Tuyến :");
        tabDisplay1.add(jLabel24);
        jLabel24.setBounds(340, 20, 80, 16);

        jLabel25.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel25.setForeground(new java.awt.Color(240, 240, 240));
        jLabel25.setText("Số xe :");
        tabDisplay1.add(jLabel25);
        jLabel25.setBounds(370, 50, 44, 16);

        lbnameDisplayAll.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbnameDisplayAll.setForeground(new java.awt.Color(240, 240, 240));
        lbnameDisplayAll.setText("Name");
        tabDisplay1.add(lbnameDisplayAll);
        lbnameDisplayAll.setBounds(430, 20, 230, 16);

        lbNoDisplayAll.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNoDisplayAll.setForeground(new java.awt.Color(240, 240, 240));
        lbNoDisplayAll.setText("No");
        tabDisplay1.add(lbNoDisplayAll);
        lbNoDisplayAll.setBounds(430, 50, 16, 16);

        jLabel28.setFont(jLabel28.getFont().deriveFont(jLabel28.getFont().getStyle() | java.awt.Font.BOLD, jLabel28.getFont().getSize()+2));
        jLabel28.setForeground(new java.awt.Color(240, 240, 240));
        jLabel28.setText("Lượt đi :");
        tabDisplay1.add(jLabel28);
        jLabel28.setBounds(350, 90, 80, 14);

        jLabel29.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel29.setForeground(new java.awt.Color(240, 240, 240));
        jLabel29.setText("Lượt về :");
        tabDisplay1.add(jLabel29);
        jLabel29.setBounds(350, 280, 110, 16);

        taBackDisplayAll.setColumns(20);
        taBackDisplayAll.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        taBackDisplayAll.setLineWrap(true);
        taBackDisplayAll.setRows(5);
        taBackDisplayAll.setWrapStyleWord(true);
        jScrollPane5.setViewportView(taBackDisplayAll);

        tabDisplay1.add(jScrollPane5);
        jScrollPane5.setBounds(350, 310, 310, 130);

        taGoDisplayAll.setColumns(20);
        taGoDisplayAll.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        taGoDisplayAll.setLineWrap(true);
        taGoDisplayAll.setRows(5);
        taGoDisplayAll.setWrapStyleWord(true);
        jScrollPane6.setViewportView(taGoDisplayAll);

        tabDisplay1.add(jScrollPane6);
        jScrollPane6.setBounds(350, 120, 310, 130);

        jLabel30.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel30.setText("jLabel17");
        jLabel30.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel30MouseMoved(evt);
            }
        });
        tabDisplay1.add(jLabel30);
        jLabel30.setBounds(0, 0, 690, 470);
        tabDisplay1.add(jProgressBar2);
        jProgressBar2.setBounds(530, 220, 146, 14);

        tabChinh.addTab("Display", tabDisplay1);

        tabDisplay.setLayout(null);

        lbNameNo.setFont(new java.awt.Font("Tahoma", 1, 20)); // NOI18N
        lbNameNo.setForeground(new java.awt.Color(51, 255, 102));
        lbNameNo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbNameNo.setText("Điểm Đầu - Điểm Cuối");
        tabDisplay.add(lbNameNo);
        lbNameNo.setBounds(10, 170, 660, 40);

        jLabel22.setFont(jLabel22.getFont().deriveFont(jLabel22.getFont().getStyle() | java.awt.Font.BOLD, jLabel22.getFont().getSize()+2));
        jLabel22.setForeground(new java.awt.Color(240, 240, 240));
        jLabel22.setText("Lượt đi :");
        tabDisplay.add(jLabel22);
        jLabel22.setBounds(40, 210, 80, 14);

        jLabel23.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel23.setForeground(new java.awt.Color(240, 240, 240));
        jLabel23.setText("Lượt về :");
        tabDisplay.add(jLabel23);
        jLabel23.setBounds(380, 210, 110, 16);

        taBackNo.setColumns(20);
        taBackNo.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        taBackNo.setLineWrap(true);
        taBackNo.setRows(5);
        taBackNo.setWrapStyleWord(true);
        jScrollPane2.setViewportView(taBackNo);

        tabDisplay.add(jScrollPane2);
        jScrollPane2.setBounds(380, 240, 290, 140);

        taGoNo.setColumns(20);
        taGoNo.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        taGoNo.setLineWrap(true);
        taGoNo.setRows(5);
        taGoNo.setWrapStyleWord(true);
        jScrollPane4.setViewportView(taGoNo);

        tabDisplay.add(jScrollPane4);
        jScrollPane4.setBounds(40, 240, 290, 140);

        jLabel31.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel31.setForeground(new java.awt.Color(240, 240, 240));
        jLabel31.setText("Số xe");
        tabDisplay.add(jLabel31);
        jLabel31.setBounds(140, 410, 100, 16);

        tfSearchNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfSearchNoActionPerformed(evt);
            }
        });
        tfSearchNo.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                tfSearchNoKeyPressed(evt);
            }
        });
        tabDisplay.add(tfSearchNo);
        tfSearchNo.setBounds(210, 410, 230, 20);

        lbNoNo.setFont(new java.awt.Font("Tahoma", 1, 160)); // NOI18N
        lbNoNo.setForeground(new java.awt.Color(255, 102, 102));
        lbNoNo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lbNoNo.setText("00");
        tabDisplay.add(lbNoNo);
        lbNoNo.setBounds(210, 20, 260, 150);

        btSearchNo.setText("Tìm Kiếm");
        btSearchNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSearchNoActionPerformed(evt);
            }
        });
        tabDisplay.add(btSearchNo);
        btSearchNo.setBounds(470, 410, 90, 23);

        jLabel17.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel17.setText("jLabel17");
        jLabel17.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel17MouseMoved(evt);
            }
        });
        tabDisplay.add(jLabel17);
        jLabel17.setBounds(0, 0, 690, 470);
        tabDisplay.add(jProgressBar1);
        jProgressBar1.setBounds(530, 220, 146, 14);

        tabChinh.addTab("No", tabDisplay);

        tabDisplay2.setLayout(null);

        tbStreet.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Số xe", "Lộ Trình"
            }
        ));
        tbStreet.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                tbStreetMouseClicked(evt);
            }
        });
        jScrollPane7.setViewportView(tbStreet);
        tbStreet.getColumnModel().getColumn(0).setPreferredWidth(10);
        tbStreet.getColumnModel().getColumn(1).setPreferredWidth(100);

        tabDisplay2.add(jScrollPane7);
        jScrollPane7.setBounds(30, 20, 290, 330);

        jLabel32.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel32.setForeground(new java.awt.Color(240, 240, 240));
        jLabel32.setText("Tên Tuyến :");
        tabDisplay2.add(jLabel32);
        jLabel32.setBounds(340, 20, 80, 16);

        jLabel33.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel33.setForeground(new java.awt.Color(240, 240, 240));
        jLabel33.setText("Số xe :");
        tabDisplay2.add(jLabel33);
        jLabel33.setBounds(370, 50, 44, 16);

        lbNameStreet.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNameStreet.setForeground(new java.awt.Color(240, 240, 240));
        lbNameStreet.setText("Name");
        tabDisplay2.add(lbNameStreet);
        lbNameStreet.setBounds(430, 20, 230, 16);

        lbNoStreet.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNoStreet.setForeground(new java.awt.Color(240, 240, 240));
        lbNoStreet.setText("No");
        tabDisplay2.add(lbNoStreet);
        lbNoStreet.setBounds(430, 50, 16, 16);

        jLabel36.setFont(jLabel36.getFont().deriveFont(jLabel36.getFont().getStyle() | java.awt.Font.BOLD, jLabel36.getFont().getSize()+2));
        jLabel36.setForeground(new java.awt.Color(240, 240, 240));
        jLabel36.setText("Lượt đi :");
        tabDisplay2.add(jLabel36);
        jLabel36.setBounds(360, 80, 80, 14);

        jLabel37.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel37.setForeground(new java.awt.Color(240, 240, 240));
        jLabel37.setText("Lượt về :");
        tabDisplay2.add(jLabel37);
        jLabel37.setBounds(360, 220, 110, 16);

        taBackStreet.setColumns(20);
        taBackStreet.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        taBackStreet.setLineWrap(true);
        taBackStreet.setRows(5);
        taBackStreet.setWrapStyleWord(true);
        jScrollPane8.setViewportView(taBackStreet);

        tabDisplay2.add(jScrollPane8);
        jScrollPane8.setBounds(350, 246, 310, 100);

        taGoStreet.setColumns(20);
        taGoStreet.setLineWrap(true);
        taGoStreet.setRows(5);
        taGoStreet.setWrapStyleWord(true);
        jScrollPane9.setViewportView(taGoStreet);

        tabDisplay2.add(jScrollPane9);
        jScrollPane9.setBounds(350, 110, 310, 100);

        tfSearchStreet.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                tfSearchStreetKeyPressed(evt);
            }
        });
        tabDisplay2.add(tfSearchStreet);
        tfSearchStreet.setBounds(180, 410, 300, 20);

        btSearchStreet.setText("Tìm Kiếm");
        btSearchStreet.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSearchStreetActionPerformed(evt);
            }
        });
        tabDisplay2.add(btSearchStreet);
        btSearchStreet.setBounds(520, 410, 100, 23);

        jLabel39.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel39.setForeground(new java.awt.Color(240, 240, 240));
        jLabel39.setText("Tên Đường");
        tabDisplay2.add(jLabel39);
        jLabel39.setBounds(90, 410, 80, 14);

        jLabel38.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel38.setText("jLabel17");
        jLabel38.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel38MouseMoved(evt);
            }
        });
        tabDisplay2.add(jLabel38);
        jLabel38.setBounds(0, 0, 690, 470);
        tabDisplay2.add(jProgressBar3);
        jProgressBar3.setBounds(530, 220, 146, 14);

        tabChinh.addTab("Street", tabDisplay2);

        tabDisplay3.setLayout(null);

        tbRoute.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Số xe", "Lộ Trình"
            }
        ));
        tbRoute.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                tbRouteMouseClicked(evt);
            }
        });
        jScrollPane10.setViewportView(tbRoute);
        tbRoute.getColumnModel().getColumn(0).setPreferredWidth(10);
        tbRoute.getColumnModel().getColumn(1).setPreferredWidth(100);

        tabDisplay3.add(jScrollPane10);
        jScrollPane10.setBounds(30, 20, 290, 330);

        jLabel40.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel40.setForeground(new java.awt.Color(240, 240, 240));
        jLabel40.setText("Tên Tuyến :");
        tabDisplay3.add(jLabel40);
        jLabel40.setBounds(340, 20, 80, 16);

        jLabel41.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel41.setForeground(new java.awt.Color(240, 240, 240));
        jLabel41.setText("Số xe :");
        tabDisplay3.add(jLabel41);
        jLabel41.setBounds(370, 50, 44, 16);

        lbNameRoute.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNameRoute.setForeground(new java.awt.Color(240, 240, 240));
        lbNameRoute.setText("Name");
        tabDisplay3.add(lbNameRoute);
        lbNameRoute.setBounds(430, 20, 230, 16);

        lbNoRoute.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNoRoute.setForeground(new java.awt.Color(240, 240, 240));
        lbNoRoute.setText("No");
        tabDisplay3.add(lbNoRoute);
        lbNoRoute.setBounds(430, 50, 16, 16);

        jLabel44.setFont(jLabel44.getFont().deriveFont(jLabel44.getFont().getStyle() | java.awt.Font.BOLD, jLabel44.getFont().getSize()+2));
        jLabel44.setForeground(new java.awt.Color(240, 240, 240));
        jLabel44.setText("Lượt đi :");
        tabDisplay3.add(jLabel44);
        jLabel44.setBounds(360, 80, 80, 14);

        jLabel45.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel45.setForeground(new java.awt.Color(240, 240, 240));
        jLabel45.setText("Lượt về :");
        tabDisplay3.add(jLabel45);
        jLabel45.setBounds(360, 230, 110, 16);

        taBackRoute.setColumns(20);
        taBackRoute.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        taBackRoute.setLineWrap(true);
        taBackRoute.setRows(5);
        taBackRoute.setWrapStyleWord(true);
        jScrollPane11.setViewportView(taBackRoute);

        tabDisplay3.add(jScrollPane11);
        jScrollPane11.setBounds(350, 256, 310, 90);

        taGoRoute.setColumns(20);
        taGoRoute.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        taGoRoute.setLineWrap(true);
        taGoRoute.setRows(5);
        taGoRoute.setWrapStyleWord(true);
        jScrollPane12.setViewportView(taGoRoute);

        tabDisplay3.add(jScrollPane12);
        jScrollPane12.setBounds(350, 110, 310, 100);

        jLabel46.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel46.setForeground(new java.awt.Color(240, 240, 240));
        jLabel46.setText("Điểm Đầu");
        tabDisplay3.add(jLabel46);
        jLabel46.setBounds(120, 390, 100, 16);

        tfSearchStartRoute.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        tfSearchStartRoute.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                tfSearchStartRouteKeyPressed(evt);
            }
        });
        tabDisplay3.add(tfSearchStartRoute);
        tfSearchStartRoute.setBounds(200, 390, 230, 23);

        btSearchRoute.setText("Tìm Kiếm");
        btSearchRoute.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                btSearchRouteMousePressed(evt);
            }
        });
        tabDisplay3.add(btSearchRoute);
        btSearchRoute.setBounds(450, 400, 90, 23);

        jLabel48.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel48.setForeground(new java.awt.Color(240, 240, 240));
        jLabel48.setText("Điểm Cuối");
        tabDisplay3.add(jLabel48);
        jLabel48.setBounds(120, 420, 70, 16);

        tfSearchEndRoute.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        tfSearchEndRoute.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                tfSearchEndRouteKeyPressed(evt);
            }
        });
        tabDisplay3.add(tfSearchEndRoute);
        tfSearchEndRoute.setBounds(200, 420, 230, 23);

        jLabel47.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel47.setText("jLabel17");
        jLabel47.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel47MouseMoved(evt);
            }
        });
        tabDisplay3.add(jLabel47);
        jLabel47.setBounds(0, 0, 690, 470);
        tabDisplay3.add(jProgressBar4);
        jProgressBar4.setBounds(530, 220, 146, 14);

        tabChinh.addTab("Route", tabDisplay3);

        tabDisplay4.setLayout(null);

        tbSuggest.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Số xe", "Lộ Trình"
            }
        ));
        tbSuggest.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                tbSuggestMousePressed(evt);
            }
        });
        jScrollPane13.setViewportView(tbSuggest);
        tbSuggest.getColumnModel().getColumn(0).setPreferredWidth(10);
        tbSuggest.getColumnModel().getColumn(1).setPreferredWidth(100);

        tabDisplay4.add(jScrollPane13);
        jScrollPane13.setBounds(30, 20, 290, 330);

        jLabel50.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel50.setForeground(new java.awt.Color(240, 240, 240));
        jLabel50.setText("Tên Tuyến :");
        tabDisplay4.add(jLabel50);
        jLabel50.setBounds(340, 20, 80, 16);

        jLabel51.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel51.setForeground(new java.awt.Color(240, 240, 240));
        jLabel51.setText("Số xe :");
        tabDisplay4.add(jLabel51);
        jLabel51.setBounds(370, 50, 44, 16);

        lbNameSuggest.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNameSuggest.setForeground(new java.awt.Color(240, 240, 240));
        lbNameSuggest.setText("Name");
        tabDisplay4.add(lbNameSuggest);
        lbNameSuggest.setBounds(430, 20, 230, 16);

        lbNoSuggest.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        lbNoSuggest.setForeground(new java.awt.Color(240, 240, 240));
        lbNoSuggest.setText("No");
        tabDisplay4.add(lbNoSuggest);
        lbNoSuggest.setBounds(430, 50, 16, 16);

        jLabel54.setFont(jLabel54.getFont().deriveFont(jLabel54.getFont().getStyle() | java.awt.Font.BOLD, jLabel54.getFont().getSize()+2));
        jLabel54.setForeground(new java.awt.Color(240, 240, 240));
        jLabel54.setText("Lượt đi :");
        tabDisplay4.add(jLabel54);
        jLabel54.setBounds(360, 80, 80, 14);

        jLabel55.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel55.setForeground(new java.awt.Color(240, 240, 240));
        jLabel55.setText("Lượt về :");
        tabDisplay4.add(jLabel55);
        jLabel55.setBounds(360, 230, 110, 16);

        taBackSuggest.setColumns(20);
        taBackSuggest.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        taBackSuggest.setLineWrap(true);
        taBackSuggest.setRows(5);
        taBackSuggest.setWrapStyleWord(true);
        jScrollPane14.setViewportView(taBackSuggest);

        tabDisplay4.add(jScrollPane14);
        jScrollPane14.setBounds(350, 256, 310, 90);

        taGoSuggest.setColumns(20);
        taGoSuggest.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N
        taGoSuggest.setLineWrap(true);
        taGoSuggest.setRows(5);
        taGoSuggest.setWrapStyleWord(true);
        jScrollPane15.setViewportView(taGoSuggest);

        tabDisplay4.add(jScrollPane15);
        jScrollPane15.setBounds(350, 110, 310, 100);

        jLabel49.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel49.setForeground(new java.awt.Color(240, 240, 240));
        jLabel49.setText("Địa điểm");
        tabDisplay4.add(jLabel49);
        jLabel49.setBounds(160, 420, 70, 16);

        cbtypeSuggest.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Đại Học", "Bệnh Viện", "Bảo Tàng", "Công Viên", "Rạp Chiếu Phim", "Siêu Thị", "Điểm Du Lịch" }));
        cbtypeSuggest.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                cbtypeSuggestItemStateChanged(evt);
            }
        });
        tabDisplay4.add(cbtypeSuggest);
        cbtypeSuggest.setBounds(230, 380, 220, 20);

        jLabel57.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        jLabel57.setForeground(new java.awt.Color(240, 240, 240));
        jLabel57.setText("Loại địa điểm");
        tabDisplay4.add(jLabel57);
        jLabel57.setBounds(130, 380, 90, 16);

        tabDisplay4.add(cbLocationSuggest);
        cbLocationSuggest.setBounds(230, 420, 220, 20);

        btSuggesttion.setText("Gợi ý !");
        btSuggesttion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btSuggesttionActionPerformed(evt);
            }
        });
        tabDisplay4.add(btSuggesttion);
        btSuggesttion.setBounds(480, 400, 73, 23);

        btSearchSuggest.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        btSearchSuggest.setText("jLabel17");
        btSearchSuggest.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                btSearchSuggestMouseMoved(evt);
            }
        });
        tabDisplay4.add(btSearchSuggest);
        btSearchSuggest.setBounds(0, 0, 690, 470);

        tabChinh.addTab("Suggest", tabDisplay4);

        tabDisplay5.setLayout(null);

        jLabel62.setFont(jLabel62.getFont().deriveFont(jLabel62.getFont().getStyle() | java.awt.Font.BOLD, jLabel62.getFont().getSize()+2));
        jLabel62.setForeground(new java.awt.Color(240, 240, 240));
        jLabel62.setText("Vũ Ngọc Trung");
        tabDisplay5.add(jLabel62);
        jLabel62.setBounds(110, 180, 200, 14);

        jLabel63.setFont(new java.awt.Font("Tahoma", 1, 21)); // NOI18N
        jLabel63.setForeground(new java.awt.Color(204, 0, 51));
        jLabel63.setText("Project core-Java subject - Class SE 715");
        tabDisplay5.add(jLabel63);
        jLabel63.setBounds(110, 50, 570, 30);

        jLabel65.setFont(jLabel65.getFont().deriveFont(jLabel65.getFont().getStyle() | java.awt.Font.BOLD, jLabel65.getFont().getSize()+2));
        jLabel65.setForeground(new java.awt.Color(240, 240, 240));
        jLabel65.setText("Đoàn Mạnh Tiến");
        tabDisplay5.add(jLabel65);
        jLabel65.setBounds(110, 240, 140, 14);

        jLabel66.setFont(jLabel66.getFont().deriveFont(jLabel66.getFont().getStyle() | java.awt.Font.BOLD, jLabel66.getFont().getSize()+2));
        jLabel66.setForeground(new java.awt.Color(240, 240, 240));
        jLabel66.setText("Nguyễn Đức Trung");
        tabDisplay5.add(jLabel66);
        jLabel66.setBounds(110, 270, 160, 14);

        jLabel67.setFont(jLabel67.getFont().deriveFont(jLabel67.getFont().getStyle() | java.awt.Font.BOLD, jLabel67.getFont().getSize()+2));
        jLabel67.setForeground(new java.awt.Color(240, 240, 240));
        jLabel67.setText("Phạm Đức Bảo");
        tabDisplay5.add(jLabel67);
        jLabel67.setBounds(110, 150, 200, 14);

        jLabel68.setFont(jLabel68.getFont().deriveFont(jLabel68.getFont().getStyle() | java.awt.Font.BOLD, jLabel68.getFont().getSize()+2));
        jLabel68.setForeground(new java.awt.Color(240, 240, 240));
        jLabel68.setText("Trần Văn Tiệp");
        tabDisplay5.add(jLabel68);
        jLabel68.setBounds(110, 210, 200, 14);

        SE.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/Java.jpg"))); // NOI18N
        tabDisplay5.add(SE);
        SE.setBounds(310, 80, 320, 300);

        jLabel64.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel64.setText("jLabel17");
        jLabel64.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel64MouseMoved(evt);
            }
        });
        tabDisplay5.add(jLabel64);
        jLabel64.setBounds(0, 0, 690, 470);

        tabChinh.addTab("About", tabDisplay5);

        jPanel1.setLayout(null);

        taLienTuyen.setColumns(20);
        taLienTuyen.setLineWrap(true);
        taLienTuyen.setRows(5);
        taLienTuyen.setWrapStyleWord(true);
        jScrollPane1.setViewportView(taLienTuyen);

        jPanel1.add(jScrollPane1);
        jScrollPane1.setBounds(90, 60, 530, 380);

        jLabel19.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
        jLabel19.setForeground(new java.awt.Color(240, 240, 240));
        jLabel19.setText("Liên Tuyến");
        jPanel1.add(jLabel19);
        jLabel19.setBounds(80, 20, 230, 22);

        jLabel18.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/back.jpg"))); // NOI18N
        jLabel18.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                jLabel18MouseMoved(evt);
            }
        });
        jPanel1.add(jLabel18);
        jLabel18.setBounds(0, 0, 690, 470);

        tabChinh.addTab("Liên Tuyến", jPanel1);

        getContentPane().add(tabChinh);
        tabChinh.setBounds(0, 80, 690, 500);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    @Override
    public void setGlassPane(Component glassPane) {
        glassPane.setVisible(false);
        this.setGlassPane(glassPane);
    }
    private void formMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseMoved
    }//GEN-LAST:event_formMouseMoved

    private void lbHomeMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbHomeMouseMoved
        hienthi_nut(Home);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbHomeMouseMoved

    private void lbDisplayAllMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbDisplayAllMouseMoved
        hienthi_nut(All);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbDisplayAllMouseMoved

    private void lbNoMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbNoMouseMoved
        hienthi_nut(No);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbNoMouseMoved

    private void lbStreetMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbStreetMouseMoved
        hienthi_nut(Street);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbStreetMouseMoved

    private void lbRouteMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbRouteMouseMoved
        hienthi_nut(route);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbRouteMouseMoved

    private void lbSuggestMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbSuggestMouseMoved
        hienthi_nut(Suggest);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbSuggestMouseMoved

    private void lbAboutMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutMouseMoved
        hienthi_nut(about);
        Name.setForeground(Color.white);
    }//GEN-LAST:event_lbAboutMouseMoved

    private void lbHomeMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbHomeMouseClicked
        tabChinh.setSelectedIndex(0);
    }//GEN-LAST:event_lbHomeMouseClicked

    private void lbDisplayAllMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbDisplayAllMouseClicked
        controller.handleEvent("ListAll");
    }//GEN-LAST:event_lbDisplayAllMouseClicked

    private void lbNoMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbNoMouseClicked
        controller.handleEvent("Search Number");
    }//GEN-LAST:event_lbNoMouseClicked

    private void lbStreetMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbStreetMouseClicked
        controller.handleEvent("Search Name");
    }//GEN-LAST:event_lbStreetMouseClicked

    private void lbRouteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbRouteMouseClicked
        controller.handleEvent("SearchStartEnd");
    }//GEN-LAST:event_lbRouteMouseClicked

    private void lbSuggestMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbSuggestMousePressed
        tabChinh.setSelectedIndex(5);
        controller.handleEvent("Search Famous");
    }//GEN-LAST:event_lbSuggestMousePressed

    private void lbAboutMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutMousePressed
        tabChinh.setSelectedIndex(6);
    }//GEN-LAST:event_lbAboutMousePressed

    private void lbBannerMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbBannerMouseMoved
        ko_hienthi_Nut();
        Name.setForeground(Color.red);
    }//GEN-LAST:event_lbBannerMouseMoved

    private void tfSearchNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfSearchNoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfSearchNoActionPerformed

    private void btSearchNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSearchNoActionPerformed
        controller.handleEvent("Search No bt clicked");
    }//GEN-LAST:event_btSearchNoActionPerformed

    private void lbNoiconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbNoiconMousePressed
        controller.handleEvent("Search Number");
        No.setVisible(true);
    }//GEN-LAST:event_lbNoiconMousePressed

    private void lbSuggestIconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbSuggestIconMousePressed
        controller.handleEvent("Search Famous");
        Suggest.setVisible(true);
    }//GEN-LAST:event_lbSuggestIconMousePressed

    private void lbDisplayIconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbDisplayIconMousePressed
        controller.handleEvent("ListAll");
        lbDisplayAll.setVisible(true);
    }//GEN-LAST:event_lbDisplayIconMousePressed

    private void lbStreetIconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbStreetIconMousePressed
        controller.handleEvent("Search Name");
        Street.setVisible(true);
    }//GEN-LAST:event_lbStreetIconMousePressed

    private void lbRouteIconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbRouteIconMousePressed
        controller.handleEvent("SearchStartEnd");
        route.setVisible(true);
    }//GEN-LAST:event_lbRouteIconMousePressed

    private void btSearchStreetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSearchStreetActionPerformed
        controller.handleEvent("Search Name bt press");
    }//GEN-LAST:event_btSearchStreetActionPerformed

    private void tfSearchStreetKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_tfSearchStreetKeyPressed
        if (evt.getKeyChar() == 10) {
            btSearchStreetActionPerformed(null);
        }
    }//GEN-LAST:event_tfSearchStreetKeyPressed

    private void tbStreetMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbStreetMouseClicked
        controller.handleEvent("SearchNameView");
    }//GEN-LAST:event_tbStreetMouseClicked

    private void tfSearchNoKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_tfSearchNoKeyPressed
        if (evt.getKeyChar() == 10) {
            btSearchNoActionPerformed(null);
        }
    }//GEN-LAST:event_tfSearchNoKeyPressed

    private void btSearchRouteMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btSearchRouteMousePressed
        controller.handleEvent("SearchStartEnd bt clicked");
    }//GEN-LAST:event_btSearchRouteMousePressed

    private void tfSearchStartRouteKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_tfSearchStartRouteKeyPressed
        if (evt.getKeyChar() == 10) {
            btSearchRouteMousePressed(null);
        }
    }//GEN-LAST:event_tfSearchStartRouteKeyPressed

    private void tfSearchEndRouteKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_tfSearchEndRouteKeyPressed
        if (evt.getKeyChar() == 10) {
            btSearchRouteMousePressed(null);
        }
    }//GEN-LAST:event_tfSearchEndRouteKeyPressed

    private void tbRouteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbRouteMouseClicked
        controller.handleEvent("SearchStarEndView");
    }//GEN-LAST:event_tbRouteMouseClicked

    private void tbDisplayAllMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbDisplayAllMousePressed
        controller.handleEvent("DisplayAllView");
    }//GEN-LAST:event_tbDisplayAllMousePressed

    private void cbtypeSuggestItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_cbtypeSuggestItemStateChanged
        controller.handleEvent("cbtypeSuggest press");
    }//GEN-LAST:event_cbtypeSuggestItemStateChanged

    private void btSuggesttionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btSuggesttionActionPerformed
        controller.handleEvent("show suggestions");
    }//GEN-LAST:event_btSuggesttionActionPerformed

    private void tbSuggestMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tbSuggestMousePressed
        controller.handleEvent("SuggestTionView");
    }//GEN-LAST:event_tbSuggestMousePressed

    private void lbNoiconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbNoiconMouseMoved
        lbHienThi.setText("Tìm kiếm xe buýt dựa trên số xe.");
        lbNoicon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/NoMn_clicked.jpg")));
    }//GEN-LAST:event_lbNoiconMouseMoved

    private void lbStreetIconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbStreetIconMouseMoved
        lbHienThi.setText("Tìm kiếm xe buýt dựa trên tên đường.");
        lbStreetIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/streetMN_clicked.jpg")));

    }//GEN-LAST:event_lbStreetIconMouseMoved

    private void lbDisplayIconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbDisplayIconMouseMoved
        lbHienThi.setText("Hiển thị toàn bộ xe buýt trong hệ thống.");
        lbDisplayIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/displayMN_clicked.jpg")));
    }//GEN-LAST:event_lbDisplayIconMouseMoved

    private void lbRouteIconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbRouteIconMouseMoved
        lbHienThi.setText("Tìm kiếm xe buýt theo lộ trình.");
        lbRouteIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/RouteMN_clicked.jpg")));
    }//GEN-LAST:event_lbRouteIconMouseMoved

    private void lbSuggestIconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbSuggestIconMouseMoved
        lbHienThi.setText("Gợi ý các xe buýt đi qua các địa điểm nổi bật.");
        lbSuggestIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/LocationMN_clicked.jpg")));
    }//GEN-LAST:event_lbSuggestIconMouseMoved

    private void lbAboutIconMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutIconMouseMoved
        lbHienThi.setText("Thông tin về Hanoi Bus Supporter và tác giả.");
        lbAboutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/EditMN_clicked.jpg")));
    }//GEN-LAST:event_lbAboutIconMouseMoved

    private void jLabel3MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel3MouseMoved
        ko_hienthi_Nut();
        doSt();
    }//GEN-LAST:event_jLabel3MouseMoved

    private void lbAboutIconMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lbAboutIconMousePressed
        tabChinh.setSelectedIndex(6);
    }//GEN-LAST:event_lbAboutIconMousePressed

    private void jLabel30MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel30MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel30MouseMoved

    private void jLabel17MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel17MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel17MouseMoved

    private void jLabel38MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel38MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel38MouseMoved

    private void jLabel47MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel47MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel47MouseMoved

    private void btSearchSuggestMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btSearchSuggestMouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_btSearchSuggestMouseMoved

    private void jLabel64MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel64MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel64MouseMoved

    private void jLabel18MouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel18MouseMoved
        ko_hienthi_Nut();
    }//GEN-LAST:event_jLabel18MouseMoved

    private void ko_hienthi_Nut() {
        Home.setVisible(false);
        All.setVisible(false);
        No.setVisible(false);
        Street.setVisible(false);
        Suggest.setVisible(false);
        about.setVisible(false);
        route.setVisible(false);
    }

    public void hienthi_nut(JLabel x) {
        ko_hienthi_Nut();
        x.setVisible(true);
    }

    public void doSt() {
        lbHienThi.setText("Chào mừng đến với Hanoi Bus Supporter !");
        lbNoicon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/NoMn.jpg")));
        lbDisplayIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/displayMN.jpg"))); // 
        lbAboutIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/EditMN.jpg"))); // NOI18N
        lbStreetIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/streetMN.jpg"))); // NOI18N
        lbRouteIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/RouteMN.jpg"))); // NOI18N
        lbSuggestIcon.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icon/LocationMN.jpg"))); // NOI18N
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Windows".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(MainGui.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(MainGui.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(MainGui.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(MainGui.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel All;
    private javax.swing.JLabel Home;
    private javax.swing.JLabel Name;
    private javax.swing.JLabel No;
    private javax.swing.JLabel SE;
    private javax.swing.JLabel Street;
    private javax.swing.JLabel Suggest;
    private javax.swing.JLabel about;
    private javax.swing.JButton btSearchNo;
    private javax.swing.JButton btSearchRoute;
    private javax.swing.JButton btSearchStreet;
    private javax.swing.JLabel btSearchSuggest;
    private javax.swing.JButton btSuggesttion;
    public javax.swing.JComboBox cbLocationSuggest;
    public javax.swing.JComboBox cbtypeSuggest;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JProgressBar jProgressBar2;
    private javax.swing.JProgressBar jProgressBar3;
    private javax.swing.JProgressBar jProgressBar4;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane10;
    private javax.swing.JScrollPane jScrollPane11;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    public javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JScrollPane jScrollPane9;
    private javax.swing.JLabel lbAbout;
    public javax.swing.JLabel lbAboutIcon;
    private javax.swing.JLabel lbBanner;
    private javax.swing.JLabel lbDisplayAll;
    public javax.swing.JLabel lbDisplayIcon;
    private javax.swing.JLabel lbHienThi;
    private javax.swing.JLabel lbHome;
    private javax.swing.JLabel lbLogo;
    public javax.swing.JLabel lbNameNo;
    public javax.swing.JLabel lbNameRoute;
    public javax.swing.JLabel lbNameStreet;
    public javax.swing.JLabel lbNameSuggest;
    private javax.swing.JLabel lbNo;
    public javax.swing.JLabel lbNoDisplayAll;
    public javax.swing.JLabel lbNoNo;
    public javax.swing.JLabel lbNoRoute;
    public javax.swing.JLabel lbNoStreet;
    public javax.swing.JLabel lbNoSuggest;
    public javax.swing.JLabel lbNoicon;
    private javax.swing.JLabel lbRoute;
    public javax.swing.JLabel lbRouteIcon;
    private javax.swing.JLabel lbStreet;
    public javax.swing.JLabel lbStreetIcon;
    private javax.swing.JLabel lbSuggest;
    public javax.swing.JLabel lbSuggestIcon;
    public javax.swing.JLabel lbnameDisplayAll;
    private javax.swing.JPanel pnBanner;
    private javax.swing.JLabel route;
    private javax.swing.JLabel subName;
    public javax.swing.JTextArea taBackDisplayAll;
    public javax.swing.JTextArea taBackNo;
    public javax.swing.JTextArea taBackRoute;
    public javax.swing.JTextArea taBackStreet;
    public javax.swing.JTextArea taBackSuggest;
    public javax.swing.JTextArea taGoDisplayAll;
    public javax.swing.JTextArea taGoNo;
    public javax.swing.JTextArea taGoRoute;
    public javax.swing.JTextArea taGoStreet;
    public javax.swing.JTextArea taGoSuggest;
    public javax.swing.JTextArea taLienTuyen;
    public javax.swing.JTabbedPane tabChinh;
    private javax.swing.JPanel tabDisplay;
    private javax.swing.JPanel tabDisplay1;
    private javax.swing.JPanel tabDisplay2;
    private javax.swing.JPanel tabDisplay3;
    private javax.swing.JPanel tabDisplay4;
    private javax.swing.JPanel tabDisplay5;
    private javax.swing.JPanel tabMain;
    public javax.swing.JTable tbDisplayAll;
    public javax.swing.JTable tbRoute;
    public javax.swing.JTable tbStreet;
    public javax.swing.JTable tbSuggest;
    public javax.swing.JTextField tfSearchEndRoute;
    public javax.swing.JTextField tfSearchNo;
    public javax.swing.JTextField tfSearchStartRoute;
    public javax.swing.JTextField tfSearchStreet;
    // End of variables declaration//GEN-END:variables
}
